﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BrandingConfiguration.aspx.cs"
    Inherits="BrandingConfiguration" MasterPageFile="~/AdminMaster.master" %>

<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="Server">
    <script language="javascript" type="text/javascript">
        function showPopUp(url) {

            html = "<HTML><HEAD><TITLE>Photo</TITLE>"
        + "</HEAD><BODY LEFTMARGIN=0 "
        + "MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER>"
        + "<IMG src='"
        + url
        + "' BORDER=0 NAME=image "
        + "onload='window.resizeTo(document.image.width,document.image.height)'>"
        + "</CENTER>"
        + "</BODY></HTML>";
            popup = window.open('', 'image', 'toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
            popup.document.open();
            popup.document.write(html);
            popup.document.focus();
            popup.document.close();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content1">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="GroupHeader" style="height: 18px; text-align: left;" colspan="4" valign="top">
                    Configuring Branding Images
                </td>
            </tr>
            <tr style="height: 30px">
                <td style="width: 20%">
                    Logo Image
                </td>
                <td style="width: 40%">
                    <asp:FileUpload ID="fuLogoImage" runat="server" />
                </td>
                <td>
                    <a href="" id="lnkShowLogo"  style="cursor:pointer"   runat="server">Preview</a>
                </td>
            </tr>
            <tr style="height: 30px">
                <td>
                    Field Admin Home Page Image
                </td>
                <td style="width: 40%">
                    <asp:FileUpload ID="fuFieldAdminHomePage" runat="server" />
                </td>
                <td>
                    <a href="" id="lnkShowHomeImage" style="cursor:pointer" runat="server">Preview</a>
                </td>
            </tr>
            <tr style="height: 30px">
                <td align="left" colspan="3">
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
